@layout("/common/_form.html",{js:["/assets/nanImMsgMaster/nanImMsgMaster_add.js"],css:["/assets/common/module/formSelects/formSelects-v4.css"]}){
<style>
    textarea{
        resize:none;
        height: 100px!important;
        padding: 10px;
    }
</style>
<form class="layui-form" id="nanImMsgMasterForm" lay-filter="nanImMsgMasterForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label ">发送时间</label>
                        <div class="layui-input-block">
                            <input id="sendTime" name="sendTime" placeholder="请输入发送时间" type="text" class="layui-input"  />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label layui-form-required">标签</label>
                        <div class="layui-input-block">
                            <select id="tag" name="tag" xm-select="selTag" lay-verify="required" required>
                                <option value="">下拉多选框</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label ">视频</label>
                        <div class="layui-upload">
                            <button type="button" class="layui-btn layui-icon layui-icon-file" id="video">上传视频</button>
                            <div class="layui-upload-wrap">
                                <input type="hidden" name="video" />
                                <a class="layui-upload-img" target="_blank" id="videoFilePreview"></a>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label ">图片</label>
                        <div class="layui-upload">
                            <button type="button" class="layui-btn layui-icon layui-icon-picture" id="image">上传图片</button>
                            <div class="layui-upload-wrap">
                                <input type="hidden" name="image" />
                                <img class="layui-upload-img" id="imageImgPreview">
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label ">图片链接</label>
                        <div class="layui-input-block">
                            <textarea id="imageLink" name="imageLink" placeholder="请输入图片链接" type="text" class="layui-input" ></textarea>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label ">文本</label>
                        <div class="layui-input-block">
                            <textarea id="text" name="text" placeholder="请输入文本" type="text" class="layui-input" ></textarea>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
    </div>

</form>

@}
